<!DOCTYPE html>
	<head>
		<meta charset="UTF-8" />
		<title>Detail Utilisateur</title>
		<link rel="stylesheet" type="text/css" media="screen" href="topic.css">
	</head>

	<body>

		<?php 
			if($_SESSION['log'] == 1){
				include_once("header_connecter.html");
			}else{
				include_once("header_deconnecter.html");
			} 
		?>
		<br/>
		<br/>
		<br/>
		<br/>
		<br/>
		<center>
			<table id="table2" name="table2">
				<form action="modification_profil.php" method="post">
					<tr>
						<td> Pseudo</td> 
						<td> <input type="text" name="pseudo" id="pseudo" value="<?php echo $query["pseudo"]; ?>" /> </td>
					</tr>
					<tr>
						<td> Nom</td> 
						<td> <input type="text" name="nom" id="nom" value="<?php echo $query["nom"]; ?>" /> </td>
					</tr>
					<tr>
						<td> Prénom</td> 
						<td> <input type="text" name="prenom" id="prenom" value="<?php echo $query["prenom"]; ?>" /> </td>
					</tr>
					<tr>
						<td> Adresse</td> 
						<td> <input type="text" name="adresse" id="adresse" value="<?php echo $query["adresse"]; ?>" /> </td>
					</tr>
					<tr>
						<td> Code postal</td> 
						<td> <input type="text" name="codepostal" id="codepostal" value="<?php echo $query["codepostal"]; ?>" /> </td>
					</tr>
					<tr>
						<td> E-mail</td> 
						<td> <input type="text" name="mail" id="mail" value="<?php echo $query["mail"]; ?>" /> </td>
					</tr>
					<tr>
						<td colspan="2" align="center"><input type="submit" value="Ok" id="OK" name="OK" /> </td>
					</tr>
				</form>
			</table>
		</center>
	</body>
</html>